
import { createApp } from "vue";
import { store } from "./store";
import ElementPlus from "element-plus";
import initSentry from "./sentryTool";
import aiTip from './directives/aiTip'

// normalize.css
import "normalize.css/normalize.css";
// 全局样式
import "./styles/index.less";
// tailwindcss
import "./styles/tailwind.css";

// svg icon
// import "virtual:svg-icons-register";

import App from "./App.vue";
import router from "./router";
import zhCn from "element-plus/es/locale/lang/zh-cn";

const app = createApp(App);

app.use(store);
app.use(router);
app.use(ElementPlus, {
  locale: zhCn
});

app.directive('ai-tip', aiTip);

initSentry(app);

app.mount("#app");
